FROM python:3.10.11

RUN mkdir -p /deploy
WORKDIR /deploy

COPY ./req.txt /deploy

RUN apt-get update && apt-get install -y supervisor
RUN pip install --no-cache-dir -r req.txt \
    -i https://mirrors.aliyun.com/pypi/simple \
    && rm -rf requirements.txt
